Future<void> _onCreate(Database db, int version) async {
  await db.execute('''
    CREATE TABLE thought_records(
      id INTEGER PRIMARY KEY AUTOINCREMENT,
      thought TEXT NOT NULL,
      timestamp TEXT NOT NULL,
      distortion_labels TEXT NOT NULL,
      emotional_intensity INTEGER NOT NULL,
      reflection_answers TEXT,
      balanced_view TEXT,
      action_plan TEXT,
      positive_thought TEXT
    )
  ''');
} 